package com.example.demo.service;

import com.example.demo.entity.Menu;
import com.example.demo.mapper.MenuMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MenuImpl implements MenuService{
    @Autowired
    MenuMapper menuMapper;

    @Override
    public List<Menu> getMenu(Integer mid) {
        return menuMapper.getMenu(mid);
    }
}
